# -*- coding:utf-8 -*-#
# 作者：bella
# 日期：2021/1/15 13:54

list =[5,8,1,9,23,88,4]

# print(sorted(list,reverse=True))

def fuction():
    for i in range(0,len(list)-1):
        for j in range(i+1,len(list)):
            if list[i]<list[j]:
                list[i],list[j] = list[j],list[i]

    print(list)

if __name__ == '__main__':
    fuction()
